﻿@model  iPick.Models.Application
@{
    
ViewBag.Title = "Index";
    Layout = "~/Views/Shared/Mobile/_Layout.cshtml";
    
}
@Html.Partial("~/Views/Shared/Mobile/_Header.cshtml")

@*
@if(Request.IsAuthenticated) {
    @Html.ActionLink("Home", "Index","Home", null, new { data_icon = "home" })
    @Html.ActionLink(User.Identity.Name, "Index", "Account", null, new { data_icon = "gear", data_iconpos = "ui-btn-right"})
}
else {
    @Html.ActionLink("Home", "Index", "Home", null, new { data_icon = "home" })
    @Html.ActionLink("Log On", "LogOn", "Account", null, new { data_icon = "gear", @class = "ui-btn-right" })
}
*@



		<ul data-role="listview" data-inset="true" data-theme="d" data-dividertheme="d">
			<li data-role="list-divider">Account Settings</li>
@if (Request.IsAuthenticated)
{
			@*<li>@Html.ActionLink("Profile","Account","Profile")</li>*@
				<li>@Html.ActionLink("Logout", "LogOff", "Account")</li>
}

@if (!Request.IsAuthenticated)
{
			<li>@Html.ActionLink("Register", "Register", "Account")</li>
			<li>@Html.ActionLink("Login", "Login", "Account")</li>
}
		</ul>

